package com.rtx.edi.platform.express.auth.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rtx.edi.model.express.auth.po.PlExpressSubscription;

@Mapper
public interface PlExpressSubscriptionMapper extends BaseMapper<PlExpressSubscription>{
	
	@Insert(" insert into pl_express_subscription (salesp,cpcode,cptype,qty,branchcode,branchname,"
			+ " detail,district,city,province,town,brandcode,customercodes,addwho,editwho) values"
			+ " (#{vo.salesp},#{vo.cpcode},#{vo.cptype},#{vo.qty},#{vo.branchcode},#{vo.branchname},#{vo.detail},"
			+ " #{vo.district},#{vo.city},#{vo.province},#{vo.town},#{vo.brandcode},#{vo.customercodes},#{vo.addwho},#{vo.editwho}) ")
	int insertPlExpressSubscription(@Param("vo")PlExpressSubscription vo);
	
	
}
